package com.bosc.automationui.entity;

import javax.persistence.*;
import java.io.Serializable;

@Entity
@IdClass(DependencyId.class)
@Table(name = "etl_job_dependency")
public class ETLJobDependency implements Serializable {

    public String getEtlSystem() {
        return etlSystem;
    }

    public void setEtlSystem(String etlSystem) {
        this.etlSystem = etlSystem;
    }

    public String getEtlJob() {
        return etlJob;
    }

    public void setEtlJob(String etlJob) {
        this.etlJob = etlJob;
    }

    public String getDependencySystem() {
        return dependencySystem;
    }

    public void setDependencySystem(String dependencySystem) {
        this.dependencySystem = dependencySystem;
    }

    public String getDependencyJob() {
        return dependencyJob;
    }

    public void setDependencyJob(String dependencyJob) {
        this.dependencyJob = dependencyJob;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getEnable() {
        return enable;
    }

    public void setEnable(String enable) {
        this.enable = enable;
    }


    @Column(name = "ETL_SYSTEM")
    private String etlSystem;
    @Id
    @Column(name = "ETL_JOB")
    private String etlJob;
    @Column(name = "DEPENDENCY_SYSTEM")
    private String dependencySystem;

    @Id
    @Column(name = "DEPENDENCY_JOB")
    private String dependencyJob;
    @Column(name = "DESCRIPTION")
    private String description;
    @Column(name = "ENABLE")
    private String enable;

}
